// AWTCanvas.h: interface for the AWTCanvas class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_AWTCANVAS_H__E5A3AEC7_4309_11D2_A3F3_006097A44215__INCLUDED_)
#define AFX_AWTCANVAS_H__E5A3AEC7_4309_11D2_A3F3_006097A44215__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "AWTComponent.h"

class AFX_EXT_CLASS AWTCanvas : public AWTComponent  
{
DECLARE_DYNAMIC(AWTCanvas)
public:
	AWTCanvas();
	virtual ~AWTCanvas();

	virtual void paint(CDC* pDC);

	void addClipboardListener(AWTClipboardListener* l) 
		{/*m_clipboardListener = AWTEventMulticaster::add(m_clipboardListener, l);*/}
  void removeClipboardListener(AWTClipboardListener* l) 
		{/*m_clipboardListener = AWTEventMulticaster::remove(m_clipboardListener, l);*/}
	void processClipboardEvent(AWTClipboardEvent* e);

protected:	
	CWnd* createComponent();
  AWTClipboardListener* m_clipboardListener;
};

#endif // !defined(AFX_AWTCANVAS_H__E5A3AEC7_4309_11D2_A3F3_006097A44215__INCLUDED_)


